package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"
	"salarypayment-case/Model"
)

type ChangeAddressTransaction struct {
	itsAddress string
	abstracttransaction.ChangeEmployeeTransaction
}

func (ct *ChangeAddressTransaction) Change(e *Model.Employee) {
	e.SetAddress(ct.itsAddress)
}
